package com.scsj.cloud.authority.dao;

import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Repository;
import com.scsj.cloud.authority.model.SysMenu;

@Repository
public interface SysMenuMapper {

    int deleteByPrimaryKey(Integer menuId);

    int insert(SysMenu sysMenu);

    List<SysMenu> selectAll();

    SysMenu selectByPrimaryKey(Integer menuId);

    int updateByPrimaryKey(SysMenu sysMenu);
    
    List<Map<String, Object>> selectAllByRole();
}